export interface ShiftScheduleData {
  currTime: string
  currShiftNum: string
  startTime: string
  startShiftNum: string
  startShiftName: string
  startTsId: string | number
  endTime: string
  endShiftNum: string
  endShiftName: string
  endTsId: string | number
}

export interface Props {
  modelValue?: Partial<ShiftScheduleData>
  /** 班次选项 */
  shiftOptions?: LabelValueOption[]
  /** 显示结束班次 */
  showEndShift?: boolean
  /** 显示快速选择按钮 */
  showFastBtn?: boolean
}

export const defaultProps = {
  modelValue: () => ({}),
  shiftOptions: () => [],
  // shiftOptions: () => [
  //   {
  //     craftNodeId: 'e9f69fca-e0b3-4d5f-abdc-8364e2097afd',
  //     shiftName: '早',
  //     shiftOrder: '01',
  //     label: '早',
  //     value: '01'
  //   },
  //   {
  //     craftNodeId: 'e9f69fca-e0b3-4d5f-abdc-8364e2097afd',
  //     shiftName: '晚',
  //     shiftOrder: '02',
  //     label: '晚',
  //     value: '02'
  //   }
  // ],
  showEndShift: true,
  showFastBtn: true
} as const
